import { request } from './request.js'

//添加用户
export function addUser(data){
  return request({
    url:'/addUserMessage',
    method:'post',
    data:data
  })
}

//登录
export function userLogin(data){
  return request({
    url:'/login',
    method:'post',
    data:data
  })
}

//获取用户信息
export function getUserMessage(data){
  return request({
    url:'/getUserMessage',
    method:'post',
    data:data
  })
}

//更新用户信息
export function updateUserMessage(data){
  return request({
    url:'/updateUserMessage',
    method:'post',
    data:data
  })
}



